#ifndef QCOMP_H
#define QCOMP_H

#include <QWidget>
#include "ui_qcomp.h"
#include <fmod.h>
#include <fmod.hpp>
#include <fmod_errors.h>
#include "AudioManager.h"


class QComp : public QWidget
{
	Q_OBJECT

public slots:
	void enable();
	void update(AudioManager::Manager * aManager,int track_ID);
	void setAtk(int value);
	void setRelease(int value);
	void setGain(int value);
	void setTreshold(int value);
	void setCompFX(FMOD::DSP * comp);

public:
	QComp(QWidget *parent = 0);
	~QComp();

private:
	Ui::QComp ui;
	FMOD::DSP * fx;
};

#endif // QCOMP_H
